[INFO] cloning repository https://github.com/rugyoga/chess-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rugyoga/chess-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 66bb5a88392c83ba96306c75124a3b39abb5835b
[INFO] building rugyoga/chess-rust against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frugyoga%2Fchess-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/rugyoga/chess-rust on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/rugyoga/chess-rust
[INFO] finished tweaking git repo https://github.com/rugyoga/chess-rust
[INFO] tweaked toml for git repo https://github.com/rugyoga/chess-rust written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/rugyoga/chess-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 744c3dec5d1bc3f58d5e950d4a1186a0654bc23db254c4015cbfd114c6682da9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "744c3dec5d1bc3f58d5e950d4a1186a0654bc23db254c4015cbfd114c6682da9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "744c3dec5d1bc3f58d5e950d4a1186a0654bc23db254c4015cbfd114c6682da9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "744c3dec5d1bc3f58d5e950d4a1186a0654bc23db254c4015cbfd114c6682da9", kill_on_drop: false }`
[INFO] [stdout] 744c3dec5d1bc3f58d5e950d4a1186a0654bc23db254c4015cbfd114c6682da9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abaf339fb609c5a72019280c691cf36ca8f8d89c5cc5a2c8721a0bd618a1c258
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "abaf339fb609c5a72019280c691cf36ca8f8d89c5cc5a2c8721a0bd618a1c258", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-bigint v0.3.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling num-complex v0.3.1
[INFO] [stderr]    Compiling num v0.3.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: generic arguments must come before the first constraint
[INFO] [stdout]  --> src/pieces.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl<T> Clone for Board<T: Clone, Copy> { fn clone(&self) -> Self { *self } }
[INFO] [stdout]   |                         --------  ^^^^ generic argument
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         constraint
[INFO] [stdout]   |
[INFO] [stdout] help: move the constraint after the generic argument
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl<T> Clone for Board<Copy, T : Clone> { fn clone(&self) -> Self { *self } }
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: associated type bounds are unstable
[INFO] [stdout]  --> src/pieces.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl<T> Clone for Board<T: Clone, Copy> { fn clone(&self) -> Self { *self } }
[INFO] [stdout]   |                         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
[INFO] [stdout]   = help: add `#![feature(associated_type_bounds)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/pieces.rs:9:35
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl<T> Clone for Board<T: Clone, Copy> { fn clone(&self) -> Self { *self } }
[INFO] [stdout]   |                                   ^^^^ help: use `dyn`: `dyn Copy`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]   = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]  --> src/pieces.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl<T> Clone for Board<T: Clone, Copy> { fn clone(&self) -> Self { *self } }
[INFO] [stdout]   |                   ^^^^^           ---- supplied 1 type argument
[INFO] [stdout]   |                   |
[INFO] [stdout]   |                   expected 2 type arguments
[INFO] [stdout]   |
[INFO] [stdout] note: struct defined here, with 2 type parameters: `T`, `Copy`
[INFO] [stdout]  --> src/pieces.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Board<T: Clone, Copy> {
[INFO] [stdout]   |            ^^^^^ -         ----
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl<T> Clone for Board<T: Clone, Copy, Copy> { fn clone(&self) -> Self { *self } }
[INFO] [stdout]   |                                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0229]: associated type bindings are not allowed here
[INFO] [stdout]  --> src/pieces.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl<T> Clone for Board<T: Clone, Copy> { fn clone(&self) -> Self { *self } }
[INFO] [stdout]   |                         ^^^^^^^^ associated type not allowed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]   --> src/pieces.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Board<T> {
[INFO] [stdout]    |         ^^^^^ - supplied 1 type argument
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected 2 type arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 2 type parameters: `T`, `Copy`
[INFO] [stdout]   --> src/pieces.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Board<T: Clone, Copy> {
[INFO] [stdout]    |            ^^^^^ -         ----
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl<T> Board<T, Copy> {
[INFO] [stdout]    |                ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]   --> src/pieces.rs:84:45
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn empty_board<T: Clone, Copy>(empty: T) -> Board<T> {
[INFO] [stdout]    |                                             ^^^^^ - supplied 1 type argument
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             expected 2 type arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 2 type parameters: `T`, `Copy`
[INFO] [stdout]   --> src/pieces.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Board<T: Clone, Copy> {
[INFO] [stdout]    |            ^^^^^ -         ----
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]    |
[INFO] [stdout] 84 | fn empty_board<T: Clone, Copy>(empty: T) -> Board<T, Copy> {
[INFO] [stdout]    |                                                    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]   --> src/pieces.rs:88:47
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn each_square<T>(f: impl Fn(Square) -> T) -> Board<T> {
[INFO] [stdout]    |                                               ^^^^^ - supplied 1 type argument
[INFO] [stdout]    |                                               |
[INFO] [stdout]    |                                               expected 2 type arguments
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 2 type parameters: `T`, `Copy`
[INFO] [stdout]   --> src/pieces.rs:5:12
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub struct Board<T: Clone, Copy> {
[INFO] [stdout]    |            ^^^^^ -         ----
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn each_square<T>(f: impl Fn(Square) -> T) -> Board<T, Copy> {
[INFO] [stdout]    |                                                      ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]    --> src/pieces.rs:123:50
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn pseudo_moves(once: bool, dirs: Directions) -> Board<PseudoMoves> {
[INFO] [stdout]     |                                                  ^^^^^ ----------- supplied 1 type argument
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  expected 2 type arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 type parameters: `T`, `Copy`
[INFO] [stdout]    --> src/pieces.rs:5:12
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct Board<T: Clone, Copy> {
[INFO] [stdout]     |            ^^^^^ -         ----
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]     |
[INFO] [stdout] 123 | fn pseudo_moves(once: bool, dirs: Directions) -> Board<PseudoMoves, Copy> {
[INFO] [stdout]     |                                                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]    --> src/pieces.rs:128:12
[INFO] [stdout]     |
[INFO] [stdout] 128 |     board: Board<Piece>,
[INFO] [stdout]     |            ^^^^^ ----- supplied 1 type argument
[INFO] [stdout]     |            |
[INFO] [stdout]     |            expected 2 type arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 type parameters: `T`, `Copy`
[INFO] [stdout]    --> src/pieces.rs:5:12
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct Board<T: Clone, Copy> {
[INFO] [stdout]     |            ^^^^^ -         ----
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]     |
[INFO] [stdout] 128 |     board: Board<Piece, Copy>,
[INFO] [stdout]     |                       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: this struct takes 2 type arguments but only 1 type argument was supplied
[INFO] [stdout]    --> src/pieces.rs:136:24
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn starting_board() -> Board<Piece> {
[INFO] [stdout]     |                        ^^^^^ ----- supplied 1 type argument
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        expected 2 type arguments
[INFO] [stdout]     |
[INFO] [stdout] note: struct defined here, with 2 type parameters: `T`, `Copy`
[INFO] [stdout]    --> src/pieces.rs:5:12
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct Board<T: Clone, Copy> {
[INFO] [stdout]     |            ^^^^^ -         ----
[INFO] [stdout] help: add missing type argument
[INFO] [stdout]     |
[INFO] [stdout] 136 | fn starting_board() -> Board<Piece, Copy> {
[INFO] [stdout]     |                                   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0229, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "abaf339fb609c5a72019280c691cf36ca8f8d89c5cc5a2c8721a0bd618a1c258", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abaf339fb609c5a72019280c691cf36ca8f8d89c5cc5a2c8721a0bd618a1c258", kill_on_drop: false }`
[INFO] [stdout] abaf339fb609c5a72019280c691cf36ca8f8d89c5cc5a2c8721a0bd618a1c258
